<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册</title>
    <link rel="stylesheet" href="../../css/base.css">
    <link rel="stylesheet" href="../../css/element.css">
    <script src="../../js/jquery.min.js"></script>
    <script src="../../js/vue.min.js"></script>
    <script src="../../js/element.js"></script>
    <script src="../../js/js/register.js"></script>
</head>
<body style="background:beige no-repeat; background-size: cover;">
    <div id="wrapper">
        <div style="width: 500px;height: 550px; margin: 70px auto;background-color:rgba(100,149,237,0.5); border-radius: 20px">
            <div style="width: 100%; height: 100px; color: darkblue; font-size: 30px;line-height: 100px; text-align: center">医生信息登记</div>
            <div style="margin-top: 15px; width: 100%; height: 350px; text-align: center">
                <input v-model="doctor.jobnum" type="text" style="border: 1px solid #ccc; height: 40px; padding: 10px; width: 60%" placeholder="请输入账号">
                <input v-model="doctor.password" type="password" style="border: 1px solid #ccc; height: 40px; padding: 10px; width: 60%; margin-top: 20px" placeholder="请输入密码">
                <input v-model="doctor.repassword" type="password" style="border: 1px solid #ccc; height: 40px; padding: 10px; width: 60%;  margin-top: 20px" placeholder="确认密码">
                <input v-model="doctor.idnum" type="text" style="border: 1px solid #ccc; height: 40px; padding: 10px; width: 60%;  margin-top: 20px" placeholder="请输入身份证号">
                <input v-model="doctor.phone" type="text" style="border: 1px solid #ccc; height: 40px; padding: 10px; width: 60%;  margin-top: 20px" placeholder="请输入电话">
                <button @click="register" style="height: 40px; padding: 10px; width: 60%; margin-top: 25px; background-color: steelblue; color: white">登记</button>
                <div style="margin-top: 25px">
                    <a style="width: 60%; text-align: right; display: inline-block; color: darkblue" href="../../index.html">已登记？去登录</a>
                </div>
            </div>
        </div>
    </div>
    <script type="text/javascript">
        register();
    </script>



</body>
</html>
